package edu.sctu.practice.class02.xuejiahua.test03;

/**
 * Created by Administrator on 2015/10/9.
 */
public class MyTime {
    private int hour,minute,second;


    public MyTime(int hour,int minute,int second) {
        this.hour = hour;
        this.minute = minute;
        this.second = second;

    }

    public double addSecond(int second){
        return (second++);


    }
    public double addMinute(int minute){
        return (minute++);


    }
    public double addHour(int hour){
        return (hour++);


    }
    public double subSecond(int second){
        return (second--);


    }
    public double subMinute(int minute){
        return (minute--);


    }
    public double subHour(int hour){
        return (hour--);


    }


}
